home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
59338
/
59338.xpi
/
chrome
/
global
/
richlistbox.css
< prev
next >
Wrap
Cascading Style Sheet File
|
2010-01-26
|
4KB
|
107 lines
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Richlistbox CSS.
*
* The Initial Developer of the Original Code is
* IBM Corporation.
* Portions created by the Initial Developer are Copyright (C) 2005
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Doron Rosenberg <doronr@us.ibm.com> (original author)
* Simon B�nzli <zeniko@gmail.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
richlistbox {
-moz-appearance: none !important;
margin: 2px 4px;
border: 2px solid !important;
-moz-border-radius: 5px;
-moz-border-top-colors:#969595 #c1c0bf !important;
-moz-border-bottom-colors:#d6d5d4 #e0dfde !important;
-moz-border-left-colors:#bbbab9 #dcdbda !important;
-moz-border-right-colors:#bcbbba #dcdbda !important;
background-color: #ffffff;
color: #000000;
}
richlistbox:focus {
-moz-border-top-colors:#2f75c5 #789bc3 !important;
-moz-border-bottom-colors:#3278c7 #88abd3 !important;
-moz-border-left-colors:#3177c6 #86a8d1 !important;
-moz-border-right-colors:#3278c7 #86a8d1 !important;
}
richlistbox[disabled="true"] {
color: GrayText;
}
richlistitem{
color: #000000 !important;
border: 2px solid transparent;
-moz-border-radius: 3px;
}
richlistitem:hover {
background: -moz-linear-gradient(top, #deeefe, #ccdae7);
/*background-color:#dae8f6;
background-image: url("chrome://browser/skin/icons/treeitem_hover.png");
background-repeat:repeat-x;*/
-moz-border-top-colors:#cce1f6 #e7f3fe !important;
-moz-border-bottom-colors:#cadef2 #e3eef8 !important;
-moz-border-left-colors:#cbe0f4 #e5f1fb !important;
-moz-border-right-colors:#cadff3 #e5f0fb !important;
}
richlistitem[selected="true"] {
background: -moz-linear-gradient(top, #68b4fd, #5190cf);
/*background-color:#4790d7;
background-image: url("chrome://browser/skin/icons/treeitem_sel.png");
background-repeat:repeat-x;*/
-moz-border-top-colors:#418bd4 #89c3fd !important;
-moz-border-bottom-colors:#418bd4 #71a8df !important;
-moz-border-left-colors:#418bd4 #7fb9f1 !important;
-moz-border-right-colors:#418bd4 #7ab3ea !important;
color:#ffffff !important;
}
richlistbox:focus > richlistitem[selected="true"] {
color: #000;
}
richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] {
/* outline: 1px dotted #DCDCDC;
-moz-outline-offset: -1px;*/
}
richlistbox[seltype="multiple"]:focus > richlistitem[current="true"][selected="true"] {
/* outline: 1px dotted #707070; */
}